package com.yxd.logging;

import java.util.logging.Level;

/**
 * Created by Administrator on 2016/6/15.
 */
public class SysLogger {

    private static final java.util.logging.Logger logger = java.util.logging.Logger.getLogger(SysLogger.class.getName());

    public static void info(String message) {
        logger.log(Level.INFO, message);
    }

    public static void warning(String message) {
        logger.log(Level.WARNING, message);
    }

    public static void print(String message) {
        System.out.println(message);
    }

}
